package com.asset.manage.domain;

import com.asset.common.annotation.Excel;
import com.asset.common.core.domain.TreeEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 区域管理对象 asset_region
 *
 * @author mobin
 * @date 2024-08-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(description = "区域管理对象")
public class Region extends TreeEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Integer id;

    /**
     * 区域编码
     */
    @ApiModelProperty(value = "区域编码")
    @Excel(name = "区域编码")
    private String code;

    /**
     * 区域名称
     */
    @ApiModelProperty(value = "区域名称")
    @Excel(name = "区域名称")
    private String name;

}
